<template>

	<view class="main">
		<u-navbar :fixed="false" title="病历" @rightClick="rightClick" :autoBack="true"></u-navbar>

		<view class=" column_c">

			<view class="card-content" style="margin-top: 30rpx;">

				<view class="hzxx">基础信息</view>
				<u-line margin="30rpx 0 30rpx 0"></u-line>

				<view class="row_a_c space-between item-a">
					<text class="clinic">医生</text>
					<text class="status  center">张三</text>
				</view>

				<view class="row_a_c space-between item-a">
					<text class="clinic">助理</text>
					<text class="status  center">王五</text>
				</view>

				<view class="row_a_c space-between item-a">
					<text class="clinic">科室</text>
					<text class="status  center">正畸科</text>
				</view>

				<view class="row_a_c space-between item-a">
					<text class="clinic">就诊时间</text>
					<text class="status  center">2024-09-20</text>
				</view>

				<view class="row_a_c space-between item-a">
					<text class="clinic">病历类型</text>
					<text class="status  center" style="color: #27CCBB;">初诊病历</text>
				</view>

			</view>

			<view class="card-content">
				<view class="hzxx">患者信息</view>
				<u-line margin="30rpx 0 30rpx 0"></u-line>
				<view class="item-a">
					<text class="clinic">主诉</text>
					<view class="shumin">
						患者近一年来时常牙龈刷牙时出血，有口臭。近一月来下前牙处有脓溢出要求诊治。
					</view>
				</view>
				<view class="item-a">
					<text class="clinic">现病史</text>
					<view class="shumin">
						患者近一年来时常牙龈刷牙时出血，有口臭。近一月来下前牙处有脓溢出要求诊治。
					</view>
				</view>
				<view class="item-a">
					<text class="clinic">既往史</text>
					<view class="shumin">
						患者近一年来时常牙龈刷牙时出血，有口臭。近一月来下前牙处有脓溢出要求诊治。
					</view>
				</view>
			</view>


			<view class="card-content">
				<view class="hzxx">诊断及治疗</view>
				<u-line margin="30rpx 0 30rpx 0"></u-line>
				<view class="item-a">
					<text class="clinic">诊断</text>
					<view class="shumin">
						右下1 2左下1 2成人牙周炎（慢性牙周炎）
					</view>
				</view>
				<view class="item-a">
					<text class="clinic">治疗计划</text>
					<view class="shumin">
						1.进行彻底的洁治,刮治局部刺激物,双氧水冲洗,上碘甘油
						2. 进行口腔卫生宣教，让患者正确掌握刷牙的方法
						3. 一个月后在酌情进行下前牙翻瓣术，以消除牙周袋
						4. 术后定期复查，维护疗效。
					</view>
				</view>
			</view>


			<view class="card-content">
				<view class="hzxx">医嘱</view>
				<u-line margin="30rpx 0 30rpx 0"></u-line>
				<view class="item-a">
					<text class="clinic">医嘱</text>
					<view class="shumin">
						用药期间禁止饮酒，忌辛辣、生冷、刺激性食物
					</view>
				</view>
				<view class="item-a">
					<text class="clinic">备注</text>
					<view class="shumin">
						如遇问题，请拨打诊所电话400-1234-123
					</view>
				</view>

			</view>




		</view>




	</view>

</template>

<script>
	import api_users from '@/api/users.js';

	export default {
		components: {},
		async onLoad(option) {
			console.log(uni.$u.config.v);
		},

		async onShow() {
			// this.getUsersList();
		},
		data() {
			return {
				value: null,

			};
		},
		methods: {

			handleMouseEnter() {
				console.log("鼠标移入区域");
			},
			handleMouseLeave() {
				console.log("鼠标移出111区域");
			},
			toUrl(url) {
				this.navTo(url);
			},

		}
	};
</script>

<style scoped lang="scss">
	.main {
		background: #FAFAFA;
		height: 100%;

		// padding: 32rpx;
	}

	.bit {
		padding: 32rpx;
	}

	.but {

		width: 290rpx;
		height: 60rpx;
		background: #FFFFFF;
		border-radius: 50rpx 50rpx 50rpx 50rpx;
		padding: 0 30rpx;
	}

	.time {
		font-weight: 400;
		font-size: 28rpx;
		color: #7F7F7F;
	}

	.xltb {
		width: 32rpx;
		height: 32rpx;
	}


	.container {
		padding: 0;
	}

	.card {
		background-color: #fff;
		border-radius: 8px;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
		margin-bottom: 20px;
	}

	.card-header {
		display: flex;
		justify-content: space-between;
		padding: 10px;
		border-bottom: 1px solid #f0f0f0;
	}

	.item-a {
		margin-bottom: 32rpx;
	}

	.status {
		font-weight: 400;
		font-size: 28rpx;
		color: rgba(0, 0, 0, 0.85);
	}

	.clinic {
		font-weight: 400;
		font-size: 28rpx;
		color: rgba(0, 0, 0, 0.6);
	}


	.cancelled {
		color: #f44336;
	}

	.card-content {
		width: 686rpx;
		min-height: 200rpx;
		background: #FFFFFF;
		box-shadow: 0rpx 0rpx 8rpx -2rpx rgba(0, 0, 0, 0.04), 0rpx 0rpx 10rpx 0rpx rgba(0, 0, 0, 0.03), 0rpx 0rpx 20rpx 0rpx rgba(0, 0, 0, 0.02);
		border-radius: 20rpx 20rpx 20rpx 20rpx;
		padding: 32rpx 32rpx 0 32rpx;
		margin-bottom: 20rpx;

	}



	.name {
		font-weight: 400;
		font-size: 24rpx;
		color: rgba(0, 0, 0, 0.6);
		margin-bottom: 12rpx;

	}

	.time {
		font-weight: 400;
		font-size: 24rpx;
		color: rgba(0, 0, 0, 0.6);
		margin-bottom: 12rpx;
	}



	.appointment-info {
		margin-top: 20rpx;
	}

	.hzxx {
		font-weight: 600;
		font-size: 28rpx;
		color: rgba(0, 0, 0, 0.85);
	}

	.ysh {
		width: 160rpx;
		height: 160rpx;
		margin-left: 10rpx;
	}

	.shumin {
		font-weight: 400;
		font-size: 28rpx;
		color: rgba(0, 0, 0, 0.85);
		margin-top: 8rpx;

	}
</style>